package org.dromara.admin.domain.vo;

import org.dromara.admin.domain.OrderTag;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 订单标签（企业版预留）视图对象 bi_order_tag
 *
 * @author Lion Li
 * @date 2025-10-10
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = OrderTag.class)
public class OrderTagVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 标签唯一ID
     */
    @ExcelProperty(value = "标签唯一ID")
    private Long id;

    /**
     * 关联主体ID（归属主体，关联bi_company.id）
     */
    @ExcelProperty(value = "关联主体ID", converter = ExcelDictConvert.class)
    private Long companyId;

    /**
     * 标签名称（如“项目A”“季度采购”）
     */
    @ExcelProperty(value = "标签名称", converter = ExcelDictConvert.class)
    private String tagName;

    /**
     * 标签颜色（如#FF0000）
     */
    @ExcelProperty(value = "标签颜色", converter = ExcelDictConvert.class)
    private String tagColor;


}
